package com.zhongshengnetwork.rightbe.dbmodel;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by zhongsheng-luojianlan on 16/11/26.
 */
@Table(name = "chatdb")
public class ChatdbModel {
    @Column(name = "id",isId = true)
    private String id;//ownerid+用户\团id
    @Column(name = "ownerid")
    private String ownerid;
    @Column(name = "type")
    private int type;// 0-人 1-团
    @Column(name = "targetid")
    private String targetid;
    @Column(name = "time")
    private long time;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(String ownerid) {
        this.ownerid = ownerid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTargetid() {
        return targetid;
    }

    public void setTargetid(String targetid) {
        this.targetid = targetid;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
